package com.hexinfo.dmpro.data.disaster.recovery.backups.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hexinfo.dmpro.data.disaster.recovery.backups.dao.DisasterRecoveryListMapper;
import com.hexinfo.dmpro.data.disaster.recovery.backups.model.DisasterRecoveryList;
import com.hexinfo.dmpro.data.disaster.recovery.backups.service.DisasterRecoveryListService;
import org.springframework.stereotype.Service;

/**
 * 生产数据灾备任务明细表
 *
 * @author wz.li
 * @date 2023-10-09 18:57:44
 */
@Service
public class DisasterRecoveryListServiceImpl extends ServiceImpl<DisasterRecoveryListMapper, DisasterRecoveryList> implements DisasterRecoveryListService {

    @Override
    public Page queryList(Page page, DisasterRecoveryList disasterRecoveryList) {
        LambdaQueryWrapper<DisasterRecoveryList> wrapper = Wrappers.lambdaQuery();
        Page returnPage = this.baseMapper.selectPage(page, wrapper);
        return returnPage;
    }
}
